﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Dict;
using Ewell.Interface.Common.Model.GateWay.Dto.Out;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class ConfigAllDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.dict.service.inter.dubbo.ConfigAllDubboService";
        public GateWayMethod queryPageConfig => new QueryPageConfig(url);
    }

    public class QueryPageConfig : GateWayMethod
    {
        public QueryPageConfig(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryPageConfig";

        public override string paramClass => "cc.ewell.his.dict.upon.config.ConfigQueryRequest";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(ConfigQueryRequest);

        public override Type responseParamType => typeof(List<ConfigResponse>);
    }
}
